ABC091 B - Two Colors Card Game
https://atcoder.jp/contests/abc091/tasks/abc091_b
提出
code: python
from collections import Counter
n = int(input())
s = input() for _ in range(n)
m = int(input())
t = input() for _ in range(m)
s_c = Counter(s)
t_c = Counter(t)
ans = -float('inf')
for k, v in s_c.items():
res = v - t_ck
if res > ans:
ans = res
print(ans) if ans > 0 else print(0)